This collection of samples demonstrates usage of a dynamic-link library (DLL) in Intel® Fortran including data sharing and loading a DLL using Windows* APIs.

For more information about using DLLs, see Creating and Using DLLs in Using Intel Visual Fortran to Create and Build Windows-Based Applications

System Requirements

Minimum requirements include a PC based on an IA-32 or Intel® 64 architecture processor supporting the Intel® Streaming SIMD Extensions 2 (Intel® SSE2) instructions (Intel® Pentium® 4 processor or later, or compatible non-Intel processor), and supported versions of the Microsoft Windows* operating system, Microsoft Visual Studio*, and the Intel® Visual Fortran compiler. Refer to the Intel® Parallel Studio XE product Release Notes for details on the complete system requirements.

Build Instructions

Expand the ZIP file to a writable directory of your choice. The collection can be built using the command-line build script build.bat file that is provided for the collection. The build.bat file accepts an optional command-line argument from the following list:

Alternatively, refer to the individual readme.html file included with each individual sample for information about building and executing the sample using either the Microsoft Visual Studio* solution or command-line build script build.bat file included with each individual sample.

Contents

This collection includes the following samples – refer to the readme.html in each subfolder for further details:

DLL_Shared_Data

Demonstrates usage of a DLL to share data across multiple executables in an application and a mutex to synchronize access across processes.

DynamicLoad

Demonstrates usage of Windows* Win32 APIs LoadLibrary and GetProcAddress to dynamically load a DLL, look up a routine, and call the routine.